<?php
/**
 * Created by PhpStorm.
 * User: august
 * Date: 2021/5/18
 * Time: 15:00
 */

namespace DesignPatterns\Creator\AbstractFactory;

/**
 * 工厂接口
 * Class Factory
 * @package DesignPatterns\Creator\AbstractFactory
 */
interface IFactory
{
    /**
     * 创建产品A 接口
     * author: august 2021/5/18
     * @return mixed
     */
    public function createUser();

    /**
     * 创建产品B 接口
     * author: august 2021/5/18
     * @return mixed
     */
    public function createArticle();
}